package com.css.zfzx.fxpg.modules.levelmap.economicLoss.service;

import com.alibaba.fastjson.JSONObject;
import com.css.zfzx.fxpg.modules.levelmap.economicLoss.repository.entity.FxEconomicLossLevelMapEntity;
import com.css.zfzx.fxpg.modules.levelmap.economicLoss.viewobjects.FxEconomicLossLevelMapQueryParams;

import java.util.List;

/**
 * @author andy
 * @date 2021-01-26
 */

public interface FxEconomicLossLevelMapService {

    public JSONObject queryFxEconomicLossLevelMaps(FxEconomicLossLevelMapQueryParams queryParams, int curPage, int pageSize);

    public JSONObject queryFxEconomicLossLevelMapsByFileName(FxEconomicLossLevelMapQueryParams queryParams, int curPage, int pageSize, String sort, String order);

    public FxEconomicLossLevelMapEntity getFxEconomicLossLevelMap(String id);

    public FxEconomicLossLevelMapEntity saveFxEconomicLossLevelMap(FxEconomicLossLevelMapEntity fxEconomicLossLevelMap);

    public FxEconomicLossLevelMapEntity updateFxEconomicLossLevelMap(FxEconomicLossLevelMapEntity fxEconomicLossLevelMap);

    public void deleteFxEconomicLossLevelMaps(List<String> ids);

    public JSONObject getFxEconomicLossLevelMaps(FxEconomicLossLevelMapQueryParams queryParams);

    public void saveOrUpdate(FxEconomicLossLevelMapEntity elmEntity);

    public String importShapeFile(String filePath, String province, String city, String area, String condition);

    public String judgeFileParams(String[] datas);

    public void deleteFxEconomicLossLevelMapsByFileName(List<String> fileNames);

    public Long lookUpFxEconomicLossLevelMaps(FxEconomicLossLevelMapQueryParams queryParams);
}
